/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.andersen.web.beans;

import org.springframework.stereotype.Component;

/**
 *
 * @author Corvus 11
 */
@Component
public class RegisterCommandForm {
    
    private String login;
    
    private String password;
    
    private String confirmPassword;
    
    private long employeeId;
    
    private String fio;
    
    private boolean hr;
    
    private boolean manager;
    
    private boolean validationError = false;
    
    //private String officeId;
    /*
    private String userName;
    
    private String surname;
    
    private String patronymic;
    
    private String skype;
    
    private String phone;
    
    private String officeId;
*/
    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getFio() {
        return fio;
    }

    public void setFio(String fio) {
        this.fio = fio;
    }

    public long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(long employeeId) {
        this.employeeId = employeeId;
    }

    public boolean isHr() {
        return hr;
    }

    public void setHr(boolean hr) {
        this.hr = hr;
    }

    public boolean isManager() {
        return manager;
    }

    public void setManager(boolean manager) {
        this.manager = manager;
    }

    public boolean isValidationError() {
        return validationError;
    }

    public void setValidationError(boolean validationError) {
        this.validationError = validationError;
    }

    @Override
    public String toString() {
        return "RegisterCommandForm{" + "login=" + login + 
                ", password=" + password + 
                ", confirmPassword=" + confirmPassword + 
                ", employeeId=" + employeeId + 
                ", fio=" + fio + 
                ", hr=" + hr + 
                ", manager=" + manager + 
                ", validationError=" + validationError + '}';
    }

    
}
